package com.car.entity;

import java.util.ArrayList;
import java.util.List;

public class SizeInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SizeInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBulkIsNull() {
            addCriterion("bulk is null");
            return (Criteria) this;
        }

        public Criteria andBulkIsNotNull() {
            addCriterion("bulk is not null");
            return (Criteria) this;
        }

        public Criteria andBulkEqualTo(String value) {
            addCriterion("bulk =", value, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkNotEqualTo(String value) {
            addCriterion("bulk <>", value, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkGreaterThan(String value) {
            addCriterion("bulk >", value, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkGreaterThanOrEqualTo(String value) {
            addCriterion("bulk >=", value, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkLessThan(String value) {
            addCriterion("bulk <", value, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkLessThanOrEqualTo(String value) {
            addCriterion("bulk <=", value, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkLike(String value) {
            addCriterion("bulk like", value, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkNotLike(String value) {
            addCriterion("bulk not like", value, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkIn(List<String> values) {
            addCriterion("bulk in", values, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkNotIn(List<String> values) {
            addCriterion("bulk not in", values, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkBetween(String value1, String value2) {
            addCriterion("bulk between", value1, value2, "bulk");
            return (Criteria) this;
        }

        public Criteria andBulkNotBetween(String value1, String value2) {
            addCriterion("bulk not between", value1, value2, "bulk");
            return (Criteria) this;
        }

        public Criteria andWheelBaseIsNull() {
            addCriterion("wheel_base is null");
            return (Criteria) this;
        }

        public Criteria andWheelBaseIsNotNull() {
            addCriterion("wheel_base is not null");
            return (Criteria) this;
        }

        public Criteria andWheelBaseEqualTo(String value) {
            addCriterion("wheel_base =", value, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseNotEqualTo(String value) {
            addCriterion("wheel_base <>", value, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseGreaterThan(String value) {
            addCriterion("wheel_base >", value, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseGreaterThanOrEqualTo(String value) {
            addCriterion("wheel_base >=", value, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseLessThan(String value) {
            addCriterion("wheel_base <", value, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseLessThanOrEqualTo(String value) {
            addCriterion("wheel_base <=", value, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseLike(String value) {
            addCriterion("wheel_base like", value, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseNotLike(String value) {
            addCriterion("wheel_base not like", value, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseIn(List<String> values) {
            addCriterion("wheel_base in", values, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseNotIn(List<String> values) {
            addCriterion("wheel_base not in", values, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseBetween(String value1, String value2) {
            addCriterion("wheel_base between", value1, value2, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andWheelBaseNotBetween(String value1, String value2) {
            addCriterion("wheel_base not between", value1, value2, "wheelBase");
            return (Criteria) this;
        }

        public Criteria andSeatingIsNull() {
            addCriterion("seating is null");
            return (Criteria) this;
        }

        public Criteria andSeatingIsNotNull() {
            addCriterion("seating is not null");
            return (Criteria) this;
        }

        public Criteria andSeatingEqualTo(Integer value) {
            addCriterion("seating =", value, "seating");
            return (Criteria) this;
        }

        public Criteria andSeatingNotEqualTo(Integer value) {
            addCriterion("seating <>", value, "seating");
            return (Criteria) this;
        }

        public Criteria andSeatingGreaterThan(Integer value) {
            addCriterion("seating >", value, "seating");
            return (Criteria) this;
        }

        public Criteria andSeatingGreaterThanOrEqualTo(Integer value) {
            addCriterion("seating >=", value, "seating");
            return (Criteria) this;
        }

        public Criteria andSeatingLessThan(Integer value) {
            addCriterion("seating <", value, "seating");
            return (Criteria) this;
        }

        public Criteria andSeatingLessThanOrEqualTo(Integer value) {
            addCriterion("seating <=", value, "seating");
            return (Criteria) this;
        }

        public Criteria andSeatingIn(List<Integer> values) {
            addCriterion("seating in", values, "seating");
            return (Criteria) this;
        }

        public Criteria andSeatingNotIn(List<Integer> values) {
            addCriterion("seating not in", values, "seating");
            return (Criteria) this;
        }

        public Criteria andSeatingBetween(Integer value1, Integer value2) {
            addCriterion("seating between", value1, value2, "seating");
            return (Criteria) this;
        }

        public Criteria andSeatingNotBetween(Integer value1, Integer value2) {
            addCriterion("seating not between", value1, value2, "seating");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityIsNull() {
            addCriterion("luggage_capacity is null");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityIsNotNull() {
            addCriterion("luggage_capacity is not null");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityEqualTo(Integer value) {
            addCriterion("luggage_capacity =", value, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityNotEqualTo(Integer value) {
            addCriterion("luggage_capacity <>", value, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityGreaterThan(Integer value) {
            addCriterion("luggage_capacity >", value, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityGreaterThanOrEqualTo(Integer value) {
            addCriterion("luggage_capacity >=", value, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityLessThan(Integer value) {
            addCriterion("luggage_capacity <", value, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityLessThanOrEqualTo(Integer value) {
            addCriterion("luggage_capacity <=", value, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityIn(List<Integer> values) {
            addCriterion("luggage_capacity in", values, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityNotIn(List<Integer> values) {
            addCriterion("luggage_capacity not in", values, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityBetween(Integer value1, Integer value2) {
            addCriterion("luggage_capacity between", value1, value2, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andLuggageCapacityNotBetween(Integer value1, Integer value2) {
            addCriterion("luggage_capacity not between", value1, value2, "luggageCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityIsNull() {
            addCriterion("fuel_tank_capacity is null");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityIsNotNull() {
            addCriterion("fuel_tank_capacity is not null");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityEqualTo(Integer value) {
            addCriterion("fuel_tank_capacity =", value, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityNotEqualTo(Integer value) {
            addCriterion("fuel_tank_capacity <>", value, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityGreaterThan(Integer value) {
            addCriterion("fuel_tank_capacity >", value, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityGreaterThanOrEqualTo(Integer value) {
            addCriterion("fuel_tank_capacity >=", value, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityLessThan(Integer value) {
            addCriterion("fuel_tank_capacity <", value, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityLessThanOrEqualTo(Integer value) {
            addCriterion("fuel_tank_capacity <=", value, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityIn(List<Integer> values) {
            addCriterion("fuel_tank_capacity in", values, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityNotIn(List<Integer> values) {
            addCriterion("fuel_tank_capacity not in", values, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityBetween(Integer value1, Integer value2) {
            addCriterion("fuel_tank_capacity between", value1, value2, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFuelTankCapacityNotBetween(Integer value1, Integer value2) {
            addCriterion("fuel_tank_capacity not between", value1, value2, "fuelTankCapacity");
            return (Criteria) this;
        }

        public Criteria andFrontTireIsNull() {
            addCriterion("front_tire is null");
            return (Criteria) this;
        }

        public Criteria andFrontTireIsNotNull() {
            addCriterion("front_tire is not null");
            return (Criteria) this;
        }

        public Criteria andFrontTireEqualTo(String value) {
            addCriterion("front_tire =", value, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireNotEqualTo(String value) {
            addCriterion("front_tire <>", value, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireGreaterThan(String value) {
            addCriterion("front_tire >", value, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireGreaterThanOrEqualTo(String value) {
            addCriterion("front_tire >=", value, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireLessThan(String value) {
            addCriterion("front_tire <", value, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireLessThanOrEqualTo(String value) {
            addCriterion("front_tire <=", value, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireLike(String value) {
            addCriterion("front_tire like", value, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireNotLike(String value) {
            addCriterion("front_tire not like", value, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireIn(List<String> values) {
            addCriterion("front_tire in", values, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireNotIn(List<String> values) {
            addCriterion("front_tire not in", values, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireBetween(String value1, String value2) {
            addCriterion("front_tire between", value1, value2, "frontTire");
            return (Criteria) this;
        }

        public Criteria andFrontTireNotBetween(String value1, String value2) {
            addCriterion("front_tire not between", value1, value2, "frontTire");
            return (Criteria) this;
        }

        public Criteria andRearTireIsNull() {
            addCriterion("rear_tire is null");
            return (Criteria) this;
        }

        public Criteria andRearTireIsNotNull() {
            addCriterion("rear_tire is not null");
            return (Criteria) this;
        }

        public Criteria andRearTireEqualTo(String value) {
            addCriterion("rear_tire =", value, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireNotEqualTo(String value) {
            addCriterion("rear_tire <>", value, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireGreaterThan(String value) {
            addCriterion("rear_tire >", value, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireGreaterThanOrEqualTo(String value) {
            addCriterion("rear_tire >=", value, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireLessThan(String value) {
            addCriterion("rear_tire <", value, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireLessThanOrEqualTo(String value) {
            addCriterion("rear_tire <=", value, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireLike(String value) {
            addCriterion("rear_tire like", value, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireNotLike(String value) {
            addCriterion("rear_tire not like", value, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireIn(List<String> values) {
            addCriterion("rear_tire in", values, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireNotIn(List<String> values) {
            addCriterion("rear_tire not in", values, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireBetween(String value1, String value2) {
            addCriterion("rear_tire between", value1, value2, "rearTire");
            return (Criteria) this;
        }

        public Criteria andRearTireNotBetween(String value1, String value2) {
            addCriterion("rear_tire not between", value1, value2, "rearTire");
            return (Criteria) this;
        }

        public Criteria andBackupIsNull() {
            addCriterion("backup is null");
            return (Criteria) this;
        }

        public Criteria andBackupIsNotNull() {
            addCriterion("backup is not null");
            return (Criteria) this;
        }

        public Criteria andBackupEqualTo(String value) {
            addCriterion("backup =", value, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupNotEqualTo(String value) {
            addCriterion("backup <>", value, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupGreaterThan(String value) {
            addCriterion("backup >", value, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupGreaterThanOrEqualTo(String value) {
            addCriterion("backup >=", value, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupLessThan(String value) {
            addCriterion("backup <", value, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupLessThanOrEqualTo(String value) {
            addCriterion("backup <=", value, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupLike(String value) {
            addCriterion("backup like", value, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupNotLike(String value) {
            addCriterion("backup not like", value, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupIn(List<String> values) {
            addCriterion("backup in", values, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupNotIn(List<String> values) {
            addCriterion("backup not in", values, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupBetween(String value1, String value2) {
            addCriterion("backup between", value1, value2, "backup");
            return (Criteria) this;
        }

        public Criteria andBackupNotBetween(String value1, String value2) {
            addCriterion("backup not between", value1, value2, "backup");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterIsNull() {
            addCriterion("min_bending_diameter is null");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterIsNotNull() {
            addCriterion("min_bending_diameter is not null");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterEqualTo(Double value) {
            addCriterion("min_bending_diameter =", value, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterNotEqualTo(Double value) {
            addCriterion("min_bending_diameter <>", value, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterGreaterThan(Double value) {
            addCriterion("min_bending_diameter >", value, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterGreaterThanOrEqualTo(Double value) {
            addCriterion("min_bending_diameter >=", value, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterLessThan(Double value) {
            addCriterion("min_bending_diameter <", value, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterLessThanOrEqualTo(Double value) {
            addCriterion("min_bending_diameter <=", value, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterIn(List<Double> values) {
            addCriterion("min_bending_diameter in", values, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterNotIn(List<Double> values) {
            addCriterion("min_bending_diameter not in", values, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterBetween(Double value1, Double value2) {
            addCriterion("min_bending_diameter between", value1, value2, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinBendingDiameterNotBetween(Double value1, Double value2) {
            addCriterion("min_bending_diameter not between", value1, value2, "minBendingDiameter");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceIsNull() {
            addCriterion("min_ground_clearance is null");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceIsNotNull() {
            addCriterion("min_ground_clearance is not null");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceEqualTo(Double value) {
            addCriterion("min_ground_clearance =", value, "minGroundClearance");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceNotEqualTo(Double value) {
            addCriterion("min_ground_clearance <>", value, "minGroundClearance");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceGreaterThan(Double value) {
            addCriterion("min_ground_clearance >", value, "minGroundClearance");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceGreaterThanOrEqualTo(Double value) {
            addCriterion("min_ground_clearance >=", value, "minGroundClearance");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceLessThan(Double value) {
            addCriterion("min_ground_clearance <", value, "minGroundClearance");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceLessThanOrEqualTo(Double value) {
            addCriterion("min_ground_clearance <=", value, "minGroundClearance");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceIn(List<Double> values) {
            addCriterion("min_ground_clearance in", values, "minGroundClearance");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceNotIn(List<Double> values) {
            addCriterion("min_ground_clearance not in", values, "minGroundClearance");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceBetween(Double value1, Double value2) {
            addCriterion("min_ground_clearance between", value1, value2, "minGroundClearance");
            return (Criteria) this;
        }

        public Criteria andMinGroundClearanceNotBetween(Double value1, Double value2) {
            addCriterion("min_ground_clearance not between", value1, value2, "minGroundClearance");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}